package com.bjsxt.controller;

import com.bjsxt.pojo.Planner;
import com.bjsxt.service.PlannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/planner")
public class PlannerController {
    @Autowired
    private PlannerService plannerService;

    //查询策划师实现
    @RequestMapping("/findMore")
    public List<Planner> findMore(Integer cid){
        return plannerService.findMore(cid);
    }
}
